package com.validated.constraint;

import java.lang.annotation.Annotation;

/**
 * 约束验证器
 *
 * @author Moo
 * @date 2023/05/11
 */
public  interface ConstraintValidator<A extends Annotation, T> {

    boolean isValid(A annotation, T value, Class<?> valueType);
}